﻿using BLL;
using DAL;
using Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Com.Qkds.Erp.WebUi
{
    public partial class Qx : System.Web.UI.Page
    {
        public int pid
        {
            get
            {
                return int.Parse(ViewState["pid"].ToString());
            }
            set
            {
                ViewState["pid"] = value;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            string TableName = "Qx";
            this.ckQx.DataTextField = "Name";
            this.ckQx.DataValueField = "ID";
            this.ckQx.DataSource = new QxBLL().Select(TableName);
            this.ckQx.DataBind();

        }
    }
}